package com.killer.business.service.impl;

import com.killer.business.entity.Ad;
import com.killer.db.service.impl.BaseServiceImpl;
import com.killer.business.mapper.AdMapper;
import com.killer.business.service.IAdService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author killer
 * @since 2021-09-04
 */
@Service
public class AdServiceImpl extends BaseServiceImpl<AdMapper, Ad> implements IAdService {

    @Override
    public boolean save(Ad entity) {
        entity.setStatus(1);
        return super.save(entity);
    }

}
